package system.student.entity;

public class TrainingBudget {
    private Long id;
    private Long planId;
    private String budgetCategory;
    private Long money;


    public TrainingBudget() {
    }

    public TrainingBudget(Long id, Long planId, String budgetCategory, Long money) {
        this.id = id;
        this.planId = planId;
        this.budgetCategory = budgetCategory;
        this.money = money;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return planId
     */
    public Long getPlanId() {
        return planId;
    }

    /**
     * 设置
     * @param planId
     */
    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    /**
     * 获取
     * @return budgetCategory
     */
    public String getBudgetCategory() {
        return budgetCategory;
    }

    /**
     * 设置
     * @param budgetCategory
     */
    public void setBudgetCategory(String budgetCategory) {
        this.budgetCategory = budgetCategory;
    }

    /**
     * 获取
     * @return money
     */
    public Long getMoney() {
        return money;
    }

    /**
     * 设置
     * @param money
     */
    public void setMoney(Long money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return String.format("| %-5d | %-10d | %-20s | %-10d |",
                id, planId, budgetCategory, money);
    }

}
